import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import axios from '@/api/axios-base.js'
import VueAxios from 'vue-axios'
import '@/assets/css/main.less'
//import '@/assets/css/mobile.less'
import '@/assets/css/adaptive.less'
import '@/assets/css/default-font.less'
import '@/assets/css/adaptive-phone.less'
import '@/assets/css/new-list.less'
import i18n from '@/language'
import 'animate.css/animate.min.css'
import 'vant/es/pagination/style'
import 'vant/es/toast/style'
import 'vant/es/popup/style'
import { Pagination,Toast,Popup  } from 'vant';
const app = createApp(App);
// import 'lib-flexible'
import device from './devicePixelRatio.js'

// new device().init();

app.use(router)
app.use(VueAxios, axios)
app.use(Pagination);
app.use(Popup);
app.use(Toast);
app.use(i18n).mount('#app')
